﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopTaobaokeReport")]
    public class TaobaokeReport : BaseObject
    {
        //begin
        public TaobaokeReport()
        {}
        public TaobaokeReport(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        [Association("TaobaokeReportTaobaokeReportMembers", typeof(TaobaokeReportMember)), Aggregated]
        public XPCollection<TaobaokeReportMember> TaobaokeReportMembers
        {
            get
            {
                return GetCollection<TaobaokeReportMember>("TaobaokeReportMembers");
            }
        }
        private long _TotalResults;
        public long TotalResults
        {
            get
            {
                return _TotalResults;
            }
            set
            {
                SetPropertyValue("TotalResults", ref _TotalResults, value);
            }
        }
        //end
    }
}
